package cn.nawang.ebeim.client.version;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by GanJc on 2016/1/28.
 */
public class VersionTreeInfo {

    long totalBytes ;

    List<DirectoryNode> dirNodes = new ArrayList<DirectoryNode>();

    List<FileNode> fileNodes = new ArrayList<FileNode>();

    public int getFileCount(){
        return fileNodes.size();
    }

    public int getDirCount(){
        return dirNodes.size()-2;
    }

    public long getTotalBytes(){
        return totalBytes ;
    }

    public List<FileNode> getFileNodes() {
        return fileNodes;
    }

    public List<DirectoryNode> getDirNodes() {
        return dirNodes;
    }
}
